<?php

declare (strict_types=1);
namespace App\Model;

/**
 * @property int $id 
 * @property int $caller_id 
 * @property int $callee_id 
 * @property int $call_type 
 * @property int $start_time 
 * @property int $end_time 
 * @property int $duration 
 * @property string $call_result 
 * @property string $call_log 
 * @property int $room_id 
 * @property string $call_cost 
 * @property string $call_rate 
 * @property string $remark 
 */
class CallRecord extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'call_record';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['id', 'caller_id', 'callee_id', 'call_type', 'start_time', 'end_time', 'duration', 'call_result', 'call_log', 'room_id', 'call_cost', 'call_rate', 'remark'];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'caller_id' => 'integer', 'callee_id' => 'integer', 'call_type' => 'integer', 'start_time' => 'integer', 'end_time' => 'integer', 'duration' => 'integer', 'room_id' => 'integer'];
}